package com.robot.service.action_unit;

import com.alibaba.fastjson.JSONObject;
import com.robot.common.enums.ActionUnitTypeEnum;
import com.robot.dao.entity.ActionUnit;
import com.robot.dao.mapper.ActionUnitMapper;
import com.robot.dao.vo.KnowledgeDetailVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;

@Component
public class ActionUnitHelper {
    //传入一个ActionUnit需要的信息，create到数据库。

    @Autowired
    private ActionUnitMapper actionUnitMapper;

    public void CreateActionUnit(ActionUnit actionUnit){
        actionUnitMapper.create(actionUnit);
    }
}
